#include <stdio.h>
#include <string.h>
#include <assert.h>

char * my_strncat(char* front, const char* back, size_t count)
{
	char* start = front;
	while (*front++)
		;
	front--;
	while (count--)
		if (!(*front++ = *back++))
			return (start);
	*front = '\0';
	return(start);
}

//int main()
//{
//	char arr1[30] = "hello";
//	char arr2[] = "w";
//	my_strncat(arr1, arr2, 3);
//	printf("%s\n", arr1);
//	return 0;
//}